dnl system checking configure definitions for im-sdk
dnl               Author: MIYASHITA Hisashi<himi@li18nux.org>

dnl output:
dnl       HAVE_CANNA
AC_DEFUN(IM_CHECK_CANNA,
[
	AC_CHECK_HEADER(canna/jrkanji.h, [ HAVE_CANNA="yes" ])
	AC_CHECK_LIB(canna, jrKanjiControl, [ HAVE_LIBCANNA="yes" ])
	if test "X${HAVE_CANNA}" = "Xyes" -a "X${HAVE_LIBCANNA}" = "Xyes" ; then
		HAVE_CANNA="yes"
	else
		HAVE_CANNA="no"
	fi
])
